package com.repair.project.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hz
 * @since 2021-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Repaircontent对象", description="")
public class Repaircontent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报修ID（保修表）")
    @TableId(value = "repairid", type = IdType.AUTO)
    private Integer repairid;

    @ApiModelProperty(value = "联系人名字")
    private String name;

    @ApiModelProperty(value = "联系人电话")
    private Long phone;

    @ApiModelProperty(value = "预约维修时间")
    private Date repairtime;

    @ApiModelProperty(value = "学生宿舍号")
    private String houseid;

    @ApiModelProperty(value = "报修类型")
    private Integer typeid;

    @ApiModelProperty(value = "具体维修细节")
    private String detail;

    @ApiModelProperty(value = "未维修前照片")
    private String startphoto;

    @ApiModelProperty(value = "维修后照片")
    private String endphoto;

    @ApiModelProperty(value = "学号")
    private Long stuid;

    @ApiModelProperty(value = "维修工人ID")
    private Integer workerid;

    @ApiModelProperty(value = "物料清单")
    private String materiallist;

    @ApiModelProperty(value = "维修状态")
    private String status;

    @ApiModelProperty(value = "完成时间")
    private Date finishtime;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatetime;


}
